﻿

namespace LS.Nc6.Application.Cms
{
    /// <summary>
    /// 内容表
    /// </summary>
    [SugarTable("cms_content", TableDescription = "内容表")]
    public class CmsContentEntity :EntityBaseUpdateDateDel
    {
        /// <summary>
        /// 栏目 Id，对应 cms_Channel 表的 Id 字段
        /// </summary>
        public long ChannelId { get; set; }
        /// <summary>
        /// 排序
        /// </summary>
        public int Taxis { get; set; }
        /// <summary>
        /// 内容组，对应 cms_contentgroup 表的 GroupName 字段
        /// </summary>
        public string GroupNameCollection { get; set; }
        /// <summary>
        /// 标签，对应 cms_contenttag 表的 tagName 字段
        /// </summary>
        public string Tags { get; set; }
        /// <summary>
        /// 是否终审通过
        /// </summary>
        public int Checked { get; set; }
        /// <summary>
        /// 当前审核级别
        /// </summary>
        public int? CheckedLevel { get; set; }
        /// <summary>
        /// 审核时间
        /// </summary>
        public DateTime? CheckDate { get; set; }
        /// <summary>
        /// 审核原因
        /// </summary>
        public string Reasons { get; set; }
        /// <summary>
        /// 总点击量
        /// </summary>
        public int Hits { get; set; }
        /// <summary>
        /// 下载量
        /// </summary>
        public int Downloads { get; set; }
        /// <summary>
        /// 内容标题
        /// </summary>
        public string Title { get; set; }
        /// <summary>
        /// 内容副标题
        /// </summary>
        public string SubTitle { get; set; }
        /// <summary>
        /// 内容图片，存储图片id
        /// </summary>
        public string ImageUrlIds { get; set; }
        /// <summary>
        /// 内容视频，存储视频id
        /// </summary>
        public string VideoUrlIds { get; set; }
        /// <summary>
        /// 内容附件，存储附件id
        /// </summary>
        public string FileUrlIds { get; set; }
        /// <summary>
        /// 内容正文，以编辑器提交信息
        /// </summary>
        public string Body { get; set; }
        /// <summary>
        /// 内容摘要
        /// </summary>
        public string Summary { get; set; }
        /// <summary>
        /// 作者
        /// </summary>
        public string Author { get; set; }
        /// <summary>
        /// 来源
        /// </summary>
        public string Source { get; set; }
        /// <summary>
        /// 是否置顶内容 0=否 1=是
        /// </summary>
        public int Top { get; set; }
        /// <summary>
        /// 是否推荐内容 0=否 1=是
        /// </summary>
        public int Recommend { get; set; }
        /// <summary>
        /// 是否热点内容 0=否 1=是
        /// </summary>
        public int Hot { get; set; }
        /// <summary>
        /// 是否醒目内容 0=否 1=是
        /// </summary>
        public int Color { get; set; }

        /// <summary>
        /// 默认=None  不可链接=NoLink   链接到指定栏目= LinkToChannel
        /// </summary>
        public string LinkType { get; set; }
        /// <summary>
        /// 外部链接，设置后链接将指向此地址
        /// </summary>
        public string LinkUrl { get; set; }
        /// <summary>
        /// 扩展
        /// </summary>
        public string ExtendValues { get; set; }

        /// <summary>
        /// 用户名称
        /// </summary>
        public string UserName { get; set; }

        /// <summary>
        /// 添加时间
        /// </summary>
        public DateTime AddTime { get; set; }


    }
}
